how to receive api request in node js